package com.epoint.flinkdemo.entity;

/**
 * @author liufl
 * @version [版本号, 21-4-12]
 */
public class SenSorReading
{
    private String id;

    private Long timestamp;

    private Double temp;

    public SenSorReading() {
    }

    public SenSorReading(String id, Long timestamp, Double temp) {
        this.id = id;
        this.timestamp = timestamp;
        this.temp = temp;
    }

    @Override
    public String toString() {
        return "SenSorReader{" +
                "id='" + id + '\'' +
                ", timestamp=" + timestamp +
                ", temp=" + temp +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Double getTemp() {
        return temp;
    }

    public void setTemp(Double temp) {
        this.temp = temp;
    }
}
